home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1989 / Aug 89 / X0060-Multiple Src Dirs a-Aug89 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.2 KB  |  36 lines  |  [TEXT/GEOL]

  1. Item    7121852                         15-Aug-89        17:07
  2.  
  3. From:   ATTACHMATE                      Attachmate, John Bartleson,PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Multiple Src Dirs and MABuild
  8.  
  9. Greetings:
  10.  
  11. This is a follow up to my link from a couple of days ago requesting help on
  12. setting up my MABuilds so that I could keep my source in multiple directories.
  13. My problem was this.  If I put source in some directory, then the resulting
  14. object file would be placed in that same directory.  This, of course, ruins
  15. MABuilds separate objects option.  But if I changed my .MAMake file to have a
  16. dependency like this:
  17.  
  18.     "{ObjApp}SomeFile.p.p"    ƒ   "{SomeSrcDir}SomeFile.inc1.p"
  19.  
  20. I would get errors since the default build rules only match files in the same
  21. directory.  In reading the make documentation, I discovered directory
  22. dependencies.  So, in my .MAMake file I put a new default directory rule:
  23.  
  24.     "{ObjApp}"              ƒ   "{SomeSrcDir}"
  25.  
  26. and everything works fine.  I guess I suffer from a little laziness since
  27. MacApp showed up.  I didn’t think I would ever have to set up default rules
  28. again.
  29.  
  30. Happy MABuilding,
  31.  
  32. John D. Rinaldo, Jr.
  33. Attachmate Corporation
  34.  
  35.  
  36.